Class PlayGame

java.lang.Object
  extended by PlayGame

public class PlayGame
extends java.lang.Object

This class starts up a ChessGame with all the ChessPieces for one player at their correct location and prompts the user to keep moving pieces on the board until they decide to quit.

Version:
03/11/16
Author:
Keyan

Constructor Summary
PlayGame()
           
 
Method Summary
static void main(java.lang.String[] args)
          The main method that starts a ChessGame and prompts the user to move the ChessPieces while he does not input "quit".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayGame

public PlayGame()
Method Detail

main

public static void main(java.lang.String[] args)
The main method that starts a ChessGame and prompts the user to move the ChessPieces while he does not input "quit". If the user types in "move" he will be prompted to enter an index of the piece he would like to move and then the index of where he would like to move that piece to. If the user types in "quit" the program is terminated.